<template>
 <div>
   <!-- <router-view/> -->
   <!-- routerType在每个页面内都使用，放在vuex中 -->
   <!-- vuex可以直接在结构上面书写 -->
<transitionRouterView  

    :routerType="$store.getters.routerType"
   mainComponentName="'home'">
 
</transitionRouterView>
 </div>
 
</template>
<script setup>
import transitionRouterView from './components/transition-router-view.vue';
</script>
<style lang="scss">
html,body{
  max-width: 100%;
  overflow-x: hidden;
}
</style>
